﻿<!doctype html><%@ Page Language="C#" AutoEventWireup="True" Inherits="tmAsk.Member.MyReQuestion" Codebehind="MyReQuestion.aspx.cs" %>
<html>
<head runat="server">
<meta charset="utf-8">
<title>回复管理</title>
<link href="/member/css/css.css" rel="stylesheet" type="text/css" />
<link href="/member/css/usercenter.css" rel="stylesheet" type="text/css" />
<script src="/js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
	if (window.frameElement == null) self.location = 'member.aspx';
</script>
</head>

<body>

    <form id="form1" runat="server">
	<div class="SpaceRight">
		<div class="TopBar">
			<div class="NavPath">
				<a href="/member/member.aspx" onclick="javascript:parent.location.reload();" >会员中心</a>
			</div>
		</div>
		<h1>回复管理</h1>
        <div class="askcon">
            <h3 id="asktitle" runat="server"></h3>
            <div id="askcon" class="Content" runat="server"></div>
            <ul class="reinfo">
                <li>提问用户：<span id="username" runat="server"></span><%# GetUserName(Eval("u_id")) %></li>
                <li>提问时间：<span id="usertime" runat="server"></span><%# Eval("a_time") %></li>
            </ul>
        </div>
        <div class="rebody">
            <h3>我的回复</h3>
		    <asp:Repeater ID="rptReQuestion" runat="server">
			    <ItemTemplate>
                    <div class="Content">
                        <%# Eval("r_content") %>
                        <ul class="reAction">
                            <li><a class="icon recycle" href="#">删除</a></li>
                        </ul>
                    </div>
                    <ul class="reinfo">
					    <li>回复时间：<%# Eval("r_time") %></li>
                        <li>
                            <%# Eval("a_state").ToString() == "0" ? "<a href='/include/chooseanswer.ashx?id=" + Eval("r_id") + "&member=1'>采纳为最佳答案</a>" : ""%>
                            <%# Eval("r_isGood").ToString() == "1" ? "<span style=\"color:red;\">已选为最佳答案</span>" : "" %>
                        </li>
				    </ul>
			    </ItemTemplate>
		    </asp:Repeater>
        </div>
        <div class="foot"><asp:Label ID="lblTxt" runat="server"></asp:Label></div>
    </div>
    
    
    </form>
</body>
</html>